package com.ssy.lingxi.member.merchant.model.vo.validate.request;

import com.ssy.lingxi.member.merchant.model.vo.basic.request.AreaCodeVO;

import javax.validation.Valid;
import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * 会员能力 - 会员入库 - 审核入库资料接口参数
 * @author 万宁
 * @version 2.0.0
 * @date 2021-05-19
 */
public class MemberToVerifyDepositVO extends MemberDepositVO implements Serializable {
    private static final long serialVersionUID = -5314648855087770827L;

    /**
     * 渠道类型Id，当会员是渠道会员时必填
     */
    private Long channelTypeId;

    /**
     * 上级会员Id，当会员是渠道会员时要大于等于0
     */
    private Long upperRelationId;

    /**
     * 城市编码列表列表，当会员是渠道会员时必填
     */
    @Valid
    private List<AreaCodeVO> areaCodes;

    /**
     * 渠道描述
     */
    private String remark;

    /**
     * 入库资料
     */
    private Map<String, Object> depositDetails;

    /**
     * 资质文件列表
     */
    @Valid
    private List<MemberQualityVO> qualities;

    public Long getChannelTypeId() {
        return channelTypeId;
    }

    public void setChannelTypeId(Long channelTypeId) {
        this.channelTypeId = channelTypeId;
    }

    public Long getUpperRelationId() {
        return upperRelationId;
    }

    public void setUpperRelationId(Long upperRelationId) {
        this.upperRelationId = upperRelationId;
    }

    public List<AreaCodeVO> getAreaCodes() {
        return areaCodes;
    }

    public void setAreaCodes(List<AreaCodeVO> areaCodes) {
        this.areaCodes = areaCodes;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Map<String, Object> getDepositDetails() {
        return depositDetails;
    }

    public void setDepositDetails(Map<String, Object> depositDetails) {
        this.depositDetails = depositDetails;
    }

    public List<MemberQualityVO> getQualities() {
        return qualities;
    }

    public void setQualities(List<MemberQualityVO> qualities) {
        this.qualities = qualities;
    }
}
